package com.demo.demo01.pojo;

import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
public class User {

    public User(String a, String p, String n){
        account = a;
        password = p;
        nickname = n;
    }

    private String account;
    private String password;
    private String nickname;

    public String getAccount() {
        return account;
    }

    public String getPassword() {
        return password;
    }

    public String getNickname() {
        return nickname;
    }
}
